// 动态加载 footer
function loadFooter() {
    const footer = document.createElement('footer');
    footer.className = 'foot';
    footer.innerHTML = `
        <p>@2024 | BY:MJ</p>
        <p>网页版权归MJ所有</p>
        <p>Cease to struggle and you cease to live</p>
    `;
    document.body.appendChild(footer);
}

// 当 DOM 加载完成时执行
document.addEventListener('DOMContentLoaded', () => {
    loadFooter();
}); 